package com.qfedu.bigdataapp.bean;

import java.io.Serializable;

/**
 * 自定义的新闻类
 * 通过对要展示的新闻数据进行总结，归纳出每一条新闻数据都包含哪些信息
 */
public class NewsEntity implements Serializable {
    private String id;//新闻id
    private String title;
    private String content;
    private String original;
    private int comment;
    private int share;
    private int like;


    public NewsEntity() {
    }

    public NewsEntity(String title, String content, String original, int comment, int share, int like) {
        this.title = title;
        this.content = content;
        this.original = original;
        this.comment = comment;
        this.share = share;
        this.like = like;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getOriginal() {
        return original;
    }

    public void setOriginal(String original) {
        this.original = original;
    }

    public int getComment() {
        return comment;
    }

    public void setComment(int comment) {
        this.comment = comment;
    }

    public int getShare() {
        return share;
    }

    public void setShare(int share) {
        this.share = share;
    }

    public int getLike() {
        return like;
    }

    public void setLike(int like) {
        this.like = like;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
